From: Eli Zaretskii Date: Sat, 16 May 2015 09:41:02 +0000 (+0300) Subject: ; * lisp/textmodes/ispell.el (ispell-aspell-find-dictionary): Add a comment. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~23^2~2898 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=0d3451c75dcdc52948caf5c464feada7280c64c1;p=emacs.git ; * lisp/textmodes/ispell.el (ispell-aspell-find-dictionary): Add a comment. --- diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 8107f794e07..f67fae8bcfa 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -1075,7 +1075,8 @@ of `ispell-dictionary-base-alist' elements." (dolist ( tmp-path (list ispell-aspell-dict-dir ispell-aspell-data-dir )) ;; Try xx.dat first, strip out variant, country code, etc, - ;; then try xx_YY.dat (without stripping country code). + ;; then try xx_YY.dat (without stripping country code), + ;; then try xx-alt.dat, for deu-alt etc. (dolist (tmp-regexp (list "^[[:alpha:]]+" "^[[:alpha:]_]+" "^[[:alpha:]]+-\\(alt\\|old\\)"))